home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000158_PCPete@audiography.com.au_Sat Apr 5 14:51:14 2008.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Path: reader2.panix.com!panix!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nntpserver.com!zeus.nntpserver.com!61.88.178.82.MISMATCH!news1.optus.net.au!optus!newsfeeder.syd.optusnet.com.au!news.optusnet.com.au!not-for-mail
  2. Date: Fri, 04 Apr 2008 19:53:13 +1100
  3. From: PC Pete <PCPete@audiography.com.au>
  4. User-Agent: Thunderbird 2.0.0.6 (Windows/20070815)
  5. MIME-Version: 1.0
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Help with CPVGEN sources : Problem found
  8. References: <MPG.225d8d2ae0640103989680@news.optusnet.com.au> <47f49f53$0$20462$afc38c87@news.optusnet.com.au> <47f4abe0$0$13262$afc38c87@news.optusnet.com.au>
  9. In-Reply-To: <47f4abe0$0$13262$afc38c87@news.optusnet.com.au>
  10. Content-Type: text/plain; charset=ISO-8859-15; format=flowed
  11. Content-Transfer-Encoding: 7bit
  12. Lines: 82
  13. Message-ID: <47f5ec7a$0$8090$afc38c87@news.optusnet.com.au>
  14. NNTP-Posting-Host: 122.107.177.239
  15. X-Trace: 1207299194  8090 122.107.177.239
  16. Xref: panix comp.protocols.kermit.misc:15748
  17.  
  18. PC Pete wrote:
  19.  
  20. > 0E}m80 cpxtyp=cpxtyp.mac
  21. > * sysfam set TRUE *
  22. > * CPXCOM.MAC *
  23. > * CPXSWT.MAC *
  24. > * Assembling Generic KERMIT-80 *
  25. > * CPXSYS.MAC *
  26. > * CPXSY2.MAC *
  27. > * CPXVDU.MAC *
  28. > * generic CRT selected *
  29. > M                        C      ovlend     equ     $     ; End of overlay
  30. > * sysfam set TRUE *
  31. > * CPXCOM.MAC *
  32. > * CPXSWT.MAC *
  33. > * Assembling Generic KERMIT-80 *
  34. > * CPXSYS.MAC *
  35. > * CPXSY2.MAC *
  36. > M 733E                   C      ovlend     EQU     $
  37. > * CPXVDU.MAC *
  38. > * generic CRT selected *
  39. > M 73C0                   C      ovlend     equ     $     ; End of overlay
  40. > 3 Fatal error(s)
  41. > 0E}
  42.  
  43. There does seem to be a logic error in the includes, and I seem to have 
  44. "fixed" the problem and the code now compiles fine, but I still can't 
  45. run it or save it as a COM image on the TurboDOS system. To run it at 
  46. all, I have to load the compiled hex images in DDT, then G, which craps 
  47. out with the same wierd error messages.
  48.  
  49. I've also compiled this on a stock CP/M 2.2 system, and I get the same 
  50. errors (multiple ovlends), and the code compiles to the same "size" - 
  51. i.e. the end of the independent code is way past 7000. However, that all 
  52. seemed to work on that system, whereas the same isn't true on the 
  53. TurboDOS system.
  54.  
  55. I've traced through the initialisation code in CPSMIT.MAC, but 
  56. unfortunately my debug is absolutely awful - I can't download or capture 
  57. the PRN file generated by M80 when compiling the cpsker code, because 
  58. the terminal emulator won't wrap, so my PRN file display has no 
  59. comments, while the "clean" source obviously has no addresses I can 
  60. match - so when I get lost, I have to get the PC from DDT, look it up in 
  61. the truncated PRN, then match that (remember, no line numbers in this 
  62. version of M80) to the "raw" asm source to get my bearings.
  63.  
  64. I'm trying a few alternatives to that nightmare, but the terminal 
  65. emulator won't capture plain ASCII, it will only download using 
  66. x/y/zmodem/kermit... which completes the circle of life. And if I use a 
  67. dedicated windows build of a serial file transfer, it doesn't work 
  68. because I still don't have x/y/z/k on the target system. Enough already. 
  69. Sorry.
  70.  
  71. The logic problem I see is that with the 'gener' and 'crt' equates set 
  72. to true, both CPXSY2.ASM and CPXVDU.ASM are included (in that order), 
  73. but ovlend is defined in both files and both lines are parsed. It looks 
  74. as though the logic to avoid duplicate definitions worked using LASM, 
  75. but obviously not many people would have been interested in testing the 
  76. L80 logic as well. I mean, what kind of loser would want to do THAT? 
  77. ...oh, right, that would be mel80...:)
  78.  
  79. If it's OK with everyone, I'll see if I can sort the logic out, and post 
  80. my changes for comment. Maybe then that might find a home on the archive 
  81. site?
  82.  
  83. I realise this is 17 years too late, but it would be a shame if someone 
  84. else had to bite the same bullet.
  85.  
  86. I've also documented the changes that needed to be made to both the file 
  87. formats (M80 and L80 on both my two CPM systems (TurboDOS and MyZ80 
  88. emulator) freak out at the unix-style source) and the names (MAC instead 
  89. of ASM), and all the equates that needed to be changed/set.
  90.  
  91. I'm sorry to waste so much bandwidth on such a little issue.
  92.  
  93. Thanks to all for your wonderful ideas, it's nice to have someone more 
  94. experienced offer help, especially when you're as rusty as I am!
  95.  
  96. That was kind of like getting castrated with two bricks. Hopefully it's 
  97. getting closer now...